package _spring_test;

public class CarFactory {

    public Car createCar(){
        Car car = new Car();
        car.setBrand("brand111");
        car.setSeries("series111");
        return car;
    }

    public static Car staticCreateCar(){
        Car car = new Car();
        car.setBrand("static brand222");
        car.setSeries("static series222");
        return car;
    }
}
